package com.xinqi.modules.course.clazz.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinqi.common.mybatis.data.repo.SuperMapper;
import com.xinqi.modules.course.clazz.domain.ClassOperationLogEntity;
import com.xinqi.modules.course.clazz.dto.req.ClassOperationLogQueryDTO;
import com.xinqi.modules.course.clazz.dto.rsp.ClassOperationLogResultDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 班级日志数据层
 *
 * @author: system
 * @date: 2023/01/17
 */
@Mapper
public interface ClassOperationLogMapper extends SuperMapper<ClassOperationLogEntity> {

    IPage<ClassOperationLogResultDTO> pageListBy(Page<ClassOperationLogEntity> page, @Param("query") ClassOperationLogQueryDTO query);

}
